package com.sumover.Service;

import com.sumover.POJO.Game;
import com.sumover.POJO.GameDetail;
import com.sumover.POJO.GameLink;
import com.sumover.POJO.GameType;

import java.util.HashMap;
import java.util.List;

public interface GameService {

    public List<Game> queryAllGames();

    GameDetail getGameDetail(Game game);

    Game getGame(Integer gid);

    Double getGameScore(Game game);

    HashMap<Integer, Integer> getGameScoreStatistics(Game game);

    List<Game> getGameByTypes(GameType type);

    List<GameType> getAllGameTypes();

    List<GameLink> getGameLinks(Game game);

    Game getGameByName(String gamename);
}
